﻿using Queer.Data.BaseEntity;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Queer.Entity
{
    /// <summary>
    /// 创 建：
    /// 日 期：2021-04-07 16:44
    /// 描 述：机构管理实体类
    /// </summary>

    [Table("YlszOrganizations")]
    public partial class OrganizationsEntity : BusinessEntity
    {
        /// <summary>
        /// 机构名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 机构编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 登录账号
        /// </summary>
        public string LoginName { get; set; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string LoginPass { get; set; }
        /// <summary>
        /// 所属区域
        /// </summary>
        public string BelongArea { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 网址
        /// </summary>
        public string URL { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string EMail { get; set; }
        /// <summary>
        /// 机构类型（0居家养老1机构养老）
        /// </summary>
        public int? OrganizationType { get; set; }
        /// <summary>
        /// 机构等级
        /// </summary>
        public int? OrganizationLevel { get; set; }
        /// <summary>
        /// 对外电话
        /// </summary>
        public string Telephone { get; set; }
        /// <summary>
        /// 所处位置
        /// </summary>
        public int? LocationType { get; set; }
        /// <summary>
        /// 机构负责人
        /// </summary>
        public string PrincipalName { get; set; }
        /// <summary>
        /// 机构负责人电话
        /// </summary>
        public string PrincipalMobile { get; set; }
        /// <summary>
        /// 法人代表
        /// </summary>
        public string LegalPerson { get; set; }
        /// <summary>
        /// 法人代表电话
        /// </summary>
        public string LegalPersonMobile { get; set; }
        /// <summary>
        /// 营业执照
        /// </summary>
        public string BusinessLicensePic { get; set; }
        /// <summary>
        /// 养老机构许可证
        /// </summary>
        public string InstitutionLicense { get; set; }
        /// <summary>
        /// 社会信用代码
        /// </summary>
        public string CreditCode { get; set; }
        /// <summary>
        /// 是否具有卫生许可证
        /// </summary>
        public bool? IsHygieneLicense { get; set; }
        /// <summary>
        /// 医疗服务方式
        /// </summary>
        public int? MedicalServiceMode { get; set; }
        /// <summary>
        /// 是否具备医保定点资格
        /// </summary>
        public bool? IsMedicalInsuranceQualification { get; set; }
        /// <summary>
        /// 机构用房来源
        /// </summary>
        public int? OrgHousingSource { get; set; }
        /// <summary>
        /// 是否投保养老机构责任险
        /// </summary>
        public bool? IsInsurance { get; set; }
        /// <summary>
        /// 机构图片
        /// </summary>
        public string OrgPic { get; set; }
        /// <summary>
        /// 是否公建民营
        /// </summary>
        public bool? IsPublic { get; set; }
        /// <summary>
        /// 是否设医疗机构
        /// </summary>
        public bool? IsMedicalOrg { get; set; }
        /// <summary>
        /// 是否医养合作机制
        /// </summary>
        public bool? IsMedicalAndCare { get; set; }
        /// <summary>
        /// 服务覆盖老人数
        /// </summary>
        public int? ServiceElderlyCount { get; set; }
        /// <summary>
        /// 实际投入建设资金
        /// </summary>
        public decimal? ActualBuildFund { get; set; }
        /// <summary>
        /// 建设补助资金
        /// </summary>
        public decimal? BuildAllowance { get; set; }
        /// <summary>
        /// 员工人数
        /// </summary>
        public int? EmployeeCount { get; set; }
        /// <summary>
        /// 楼层平面图
        /// </summary>
        public string BuildPic { get; set; }
        /// <summary>
        /// 房屋类型
        /// </summary>
        public int? BulidType { get; set; }
        /// <summary>
        /// 房屋建设时间
        /// </summary>
        public int? BuildYear { get; set; }
        /// <summary>
        /// 占地面积
        /// </summary>
        public decimal? CoveredArea { get; set; }
        /// <summary>
        /// 建筑面积
        /// </summary>
        public decimal? BuildArea { get; set; }
        /// <summary>
        /// 资质证明材料
        /// </summary>
        public string QualificationCertificatePic { get; set; }
        /// <summary>
        /// 所获荣誉图片
        /// </summary>
        public string HonorPic { get; set; }
        /// <summary>
        /// 所获荣誉
        /// </summary>
        public string HonorDesc { get; set; }
        /// <summary>
        /// 站点类型
        /// </summary>
        public int? StationType { get; set; }
        /// <summary>
        /// 有无设置床位
        /// </summary>
        public bool? IsBed { get; set; }
        /// <summary>
        /// 是否有开设呼叫中心
        /// </summary>
        public bool? IsCallCenter { get; set; }
        /// <summary>
        /// 是否开设助餐服务
        /// </summary>
        public bool? IsMealService { get; set; }
        /// <summary>
        /// 机构简介
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int? Enable { get; set; }

        public DateTime? OpeningDate { get; set; }
        public int? OrgFirstType { get; set; }

        public int? OrgSecondType { get; set; }
        public int? ToiletCount { get; set; }
        public int? ServicePersonRoomsCount { get; set; }
        public int? BedCount { get; set; }
        public bool? IsOutDoorsArea { get; set; }
        public bool? IsPlantArea { get; set; }
        public bool? IsBreadArea { get; set; }
        public bool? IsFireControlRooms { get; set; }
        public bool? IsParking { get; set; }
        public bool? IsCommuntityService { get; set; }
        public string PublicServiceRoom { get; set; }
        public string MedicalRoom { get; set; }
        public string CultureRoom { get; set; }
        public string AssistRoom { get; set; }
        public string RoomDevice { get; set; }
        public string PublicServiceDevice { get; set; }
        public string MedicalDevice { get; set; }
        public string SafeDevice { get; set; }
        public string FireControlDevice { get; set; }
        public string OfficeDevice { get; set; }

        [NotMapped]
        public string OrganizationLevelName { get; set; }

    }
}